const path=require('path')
let env = process.env.NODE_ENV || 'development' //线上版，生产版

let file=path.resolve(__dirname,env.toLowerCase())

try {
    module.exports=require(file)
} catch (error) {
    throw error
}